package com.oracle.service;

import com.oracle.service.impl.PaymentFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "nacos-provider",fallback = PaymentFeignServiceImpl.class)
public interface PaymentFeignService {

    @GetMapping("/pay/payment/getPayment/{id}")
    String getPayment(@PathVariable("id") String id);

}
